package com.lyq.org.service.impl;

import com.lyq.basic.service.impl.BaseServiceImpl;
import com.lyq.org.domain.Employee;
import com.lyq.org.mapper.EmployeeMapper;
import com.lyq.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author:liangyunqian
 * @Date: 2022/12/12  14:50
 * @Description:
 */
@Service
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements IEmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;


    @Override
    public Employee getByUsername(String username) {
        return employeeMapper.getByUsername(username);
    }

}
